//
//  LZAudioTool.h
//  音效播放
//
//  Created by 郝庆 on 16/6/11.
//  Copyright © 2016年 haoqing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface LZAudioTool : NSObject

/** 播放音乐 fileName:音乐文件 */
+ (AVAudioPlayer *)playMusicWithFileName:(NSString *)fileName;

/** 暂停音乐 fileName:音乐文件 */
+ (void)pauseMusicWithFileName:(NSString *)fileName;

/** 停止音乐 fileName:音乐文件 */
+ (void)stopMusicWithFileName:(NSString *)fileName;

/** 播放音效 soundName:音效文件 */
+ (void)playSoundWithSoundName:(NSString *)soundName;

@end
